package com.cqupt.service;

import com.cqupt.model.dto.SceneDto;
import com.cqupt.model.pojo.Scene;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cqupt.model.pojo.SceneDetail;
import com.cqupt.model.vo.PageVo;
import com.cqupt.model.vo.SceneChatVO;
import com.cqupt.model.vo.SpeakVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;


public interface SceneService extends IService<Scene> {

    List<Scene> all();

    SceneDetail chooseScene(int id);

    SceneChatVO startChat(int id);

    SpeakVO chat(MultipartFile file);

    SpeakVO sendMessage(MultipartFile file);

    SpeakVO waitMsg(String msg);

    PageVo<Scene> sceneList(int categoryId, Integer pageNum, Integer pageSize);

    String getAiPrompts(String msg);

    String check(String msg);

    void delScene(Integer id);

    void updateScene(SceneDto sceneDto);

    void insertBook(SceneDto sceneDto);

    SceneDto getSceneDetail(Integer id);
}
